import useRequest from "@/api/useRequest";

export class sysUpdateController {

  static getUpdateConfig(): Promise<any> {
    return useRequest({
      url: "/systemUpdate/getUpdateConfig",
      method: "get"
    })
  }

  static updateJar(): Promise<any> {
    return useRequest({
      url: "/systemUpdate/updateJar",
      method: "get"
    })
  }

  static getUpdateProgress():Promise<any>{
    return useRequest({
      url: "/systemUpdate/getUpdateProgress",
      method: "get"
    })
  }

}
